Skip to content

PR_26179_CHARLIE_026-sprites-palette-panel#262

Merged
ToolboxAid merged 1 commit into
mainfrom
PR_26179_CHARLIE_026-sprites-palette-panel
Jun 28, 2026
Merged

PR_26179_CHARLIE_026-sprites-palette-panel#262
ToolboxAid merged 1 commit into
mainfrom
PR_26179_CHARLIE_026-sprites-palette-panel

Conversation

@ToolboxAid

Copy link
Copy Markdown
Owner

Summary

Validation

  • node --check assets/toolbox/sprites/js/index.js PASS
  • node --check dev/tests/playwright/tools/SpritesToolShell.spec.mjs PASS
  • git diff --check ... PASS
  • browser storage / inline / stale-code guard scan PASS
  • npx playwright test dev/tests/playwright/tools/SpritesToolShell.spec.mjs --workers=1 --reporter=list --output=<temp> PASS, 1 test passed

Artifact

  • dev/workspace/zip/PR_26179_CHARLIE_026-sprites-palette-panel_delta.zip

@ToolboxAid ToolboxAid marked this pull request as ready for review June 28, 2026 20:13
@ToolboxAid ToolboxAid changed the base branch from PR_26179_CHARLIE_025-sprites-basic-drawing to main June 28, 2026 20:13
@ToolboxAid ToolboxAid merged commit 674fc88 into main Jun 28, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 45311fb816

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1202 to +1204
.sprite-canvas-cell--ink,
.sprite-color-chip--ink {
background: var(--text)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Move palette styles into the loaded theme bundle

The sprites page only links assets/theme-v2/css/theme.css, and that bundle does not import gamefoundrystudio.css, so these new palette/cell color rules are never loaded at runtime. In this context, selecting Gold/Blue toggles classes in JS, but the chips and painted pixels get no palette-specific styling, leaving the new color-selection feature visually ineffective.

Useful? React with 👍 / 👎.

Comment on lines +1207 to +1209
.sprite-canvas-cell--orange,
.sprite-color-chip--orange {
background: var(--molten-orange)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Increase color rule specificity

When these palette styles are loaded, painted cells still keep the old ink background because each cell gets both is-painted and a color class, and .sprite-canvas-cell.is-painted has higher specificity than these one-class color selectors. In that scenario Pencil/Fill with Orange/Gold/etc. still render as var(--text) instead of the selected palette color, so the color rules need to match or exceed the painted-cell selector specificity.

Useful? React with 👍 / 👎.

Team: CHARLIE
Workflow: stacked feature workflow
Base branch: PR_26179_CHARLIE_025-sprites-basic-drawing
Canonical ZIP path: dev/workspace/zip/PR_26179_CHARLIE_026-sprites-palette-panel_delta.zip

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use the required tmp delta ZIP path

The repo packaging instructions require every BUILD artifact at <project folder>/tmp/<TASK_NAME>_delta.zip, but this report declares dev/workspace/zip/... as canonical. In the build/evaluation context that consumes these reports, the delta ZIP will be looked for under tmp, so documenting and producing the alternate path can leave the required artifact undiscoverable.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant